(0) Obligation:

Clauses:

reach(X, Y, Edges, Not_Visited) :- member(.(X, .(Y, [])), Edges).
reach(X, Z, Edges, Not_Visited) :- ','(member(.(X, .(Y, [])), Edges), ','(member(Y, Not_Visited), ','(delete(Y, Not_Visited, V1), reach(Y, Z, Edges, V1)))).
member(H, .(H, L)).
member(X, .(H, L)) :- member(X, L).
delete(X, .(X, Y), Y).
delete(X, .(H, T1), .(H, T2)) :- delete(X, T1, T2).

Query: reach(g,g,g,g)

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph ICLP10.

(2) Obligation:

Clauses:

memberA(T68, T69, .(.(T68, .(T69, [])), T70)).
memberA(T79, T80, .(T81, T82)) :- memberA(T79, T80, T82).
memberB(T132, T133, .(.(T132, .(T133, [])), T134)).
memberB(T141, X121, .(T142, T143)) :- memberB(T141, X121, T143).
memberC(T166, .(T166, T167)).
memberC(T174, .(T175, T176)) :- memberC(T174, T176).
deleteD(T198, .(T198, T199), T199).
deleteD(T206, .(T207, T208), .(T207, X191)) :- deleteD(T206, T208, X191).
reachE(T27, T28, .(.(T27, .(T28, [])), T29), T14).
reachE(T46, T47, .(T48, T49), T14) :- memberA(T46, T47, T49).
reachE(T103, T104, T105, T106) :- memberB(T103, X81, T105).
reachE(T103, T104, T105, T106) :- ','(memberB(T103, T113, T105), memberC(T113, T106)).
reachE(T103, T104, T105, T106) :- ','(memberB(T103, T113, T105), ','(memberC(T113, T106), deleteD(T113, T106, X82))).
reachE(T103, T104, T105, T106) :- ','(memberB(T103, T113, T105), ','(memberC(T113, T106), ','(deleteD(T113, T106, T185), reachE(T113, T104, T105, T185)))).

Query: reachE(g,g,g,g)

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [TOCL09]. With regard to the inferred argument filtering the predicates were used in the following modes:
reachE_in: (b,b,b,b)
memberA_in: (b,b,b)
memberB_in: (b,f,b)
memberC_in: (b,b)
deleteD_in: (b,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

REACHE_IN_GGGG(T46, T47, .(T48, T49), T14) → U5_GGGG(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
REACHE_IN_GGGG(T46, T47, .(T48, T49), T14) → MEMBERA_IN_GGG(T46, T47, T49)
MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → U1_GGG(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → MEMBERA_IN_GGG(T79, T80, T82)
REACHE_IN_GGGG(T103, T104, T105, T106) → U6_GGGG(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
REACHE_IN_GGGG(T103, T104, T105, T106) → MEMBERB_IN_GAG(T103, X81, T105)
MEMBERB_IN_GAG(T141, X121, .(T142, T143)) → U2_GAG(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
MEMBERB_IN_GAG(T141, X121, .(T142, T143)) → MEMBERB_IN_GAG(T141, X121, T143)
REACHE_IN_GGGG(T103, T104, T105, T106) → U7_GGGG(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_GGGG(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_GGGG(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
U7_GGGG(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → MEMBERC_IN_GG(T113, T106)
MEMBERC_IN_GG(T174, .(T175, T176)) → U3_GG(T174, T175, T176, memberC_in_gg(T174, T176))
MEMBERC_IN_GG(T174, .(T175, T176)) → MEMBERC_IN_GG(T174, T176)
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_GGGG(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → DELETED_IN_GGA(T113, T106, X82)
DELETED_IN_GGA(T206, .(T207, T208), .(T207, X191)) → U4_GGA(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
DELETED_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETED_IN_GGA(T206, T208, X191)
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_GGGG(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_GGGG(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_GGGG(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U10_GGGG(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → REACHE_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
REACHE_IN_GGGG(x1, x2, x3, x4)  =  REACHE_IN_GGGG(x1, x2, x3, x4)
U5_GGGG(x1, x2, x3, x4, x5, x6)  =  U5_GGGG(x6)
MEMBERA_IN_GGG(x1, x2, x3)  =  MEMBERA_IN_GGG(x1, x2, x3)
U1_GGG(x1, x2, x3, x4, x5)  =  U1_GGG(x5)
U6_GGGG(x1, x2, x3, x4, x5)  =  U6_GGGG(x5)
MEMBERB_IN_GAG(x1, x2, x3)  =  MEMBERB_IN_GAG(x1, x3)
U2_GAG(x1, x2, x3, x4, x5)  =  U2_GAG(x5)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x2, x3, x4, x5)
U8_GGGG(x1, x2, x3, x4, x5, x6)  =  U8_GGGG(x2, x3, x4, x5, x6)
MEMBERC_IN_GG(x1, x2)  =  MEMBERC_IN_GG(x1, x2)
U3_GG(x1, x2, x3, x4)  =  U3_GG(x4)
U9_GGGG(x1, x2, x3, x4, x5)  =  U9_GGGG(x5)
DELETED_IN_GGA(x1, x2, x3)  =  DELETED_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x2, x5)
U10_GGGG(x1, x2, x3, x4, x5, x6)  =  U10_GGGG(x2, x3, x5, x6)
U11_GGGG(x1, x2, x3, x4, x5)  =  U11_GGGG(x5)

We have to consider all (P,R,Pi)-chains

(6) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

REACHE_IN_GGGG(T46, T47, .(T48, T49), T14) → U5_GGGG(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
REACHE_IN_GGGG(T46, T47, .(T48, T49), T14) → MEMBERA_IN_GGG(T46, T47, T49)
MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → U1_GGG(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → MEMBERA_IN_GGG(T79, T80, T82)
REACHE_IN_GGGG(T103, T104, T105, T106) → U6_GGGG(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
REACHE_IN_GGGG(T103, T104, T105, T106) → MEMBERB_IN_GAG(T103, X81, T105)
MEMBERB_IN_GAG(T141, X121, .(T142, T143)) → U2_GAG(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
MEMBERB_IN_GAG(T141, X121, .(T142, T143)) → MEMBERB_IN_GAG(T141, X121, T143)
REACHE_IN_GGGG(T103, T104, T105, T106) → U7_GGGG(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_GGGG(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_GGGG(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
U7_GGGG(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → MEMBERC_IN_GG(T113, T106)
MEMBERC_IN_GG(T174, .(T175, T176)) → U3_GG(T174, T175, T176, memberC_in_gg(T174, T176))
MEMBERC_IN_GG(T174, .(T175, T176)) → MEMBERC_IN_GG(T174, T176)
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_GGGG(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → DELETED_IN_GGA(T113, T106, X82)
DELETED_IN_GGA(T206, .(T207, T208), .(T207, X191)) → U4_GGA(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
DELETED_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETED_IN_GGA(T206, T208, X191)
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_GGGG(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_GGGG(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_GGGG(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U10_GGGG(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → REACHE_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
REACHE_IN_GGGG(x1, x2, x3, x4)  =  REACHE_IN_GGGG(x1, x2, x3, x4)
U5_GGGG(x1, x2, x3, x4, x5, x6)  =  U5_GGGG(x6)
MEMBERA_IN_GGG(x1, x2, x3)  =  MEMBERA_IN_GGG(x1, x2, x3)
U1_GGG(x1, x2, x3, x4, x5)  =  U1_GGG(x5)
U6_GGGG(x1, x2, x3, x4, x5)  =  U6_GGGG(x5)
MEMBERB_IN_GAG(x1, x2, x3)  =  MEMBERB_IN_GAG(x1, x3)
U2_GAG(x1, x2, x3, x4, x5)  =  U2_GAG(x5)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x2, x3, x4, x5)
U8_GGGG(x1, x2, x3, x4, x5, x6)  =  U8_GGGG(x2, x3, x4, x5, x6)
MEMBERC_IN_GG(x1, x2)  =  MEMBERC_IN_GG(x1, x2)
U3_GG(x1, x2, x3, x4)  =  U3_GG(x4)
U9_GGGG(x1, x2, x3, x4, x5)  =  U9_GGGG(x5)
DELETED_IN_GGA(x1, x2, x3)  =  DELETED_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x2, x5)
U10_GGGG(x1, x2, x3, x4, x5, x6)  =  U10_GGGG(x2, x3, x5, x6)
U11_GGGG(x1, x2, x3, x4, x5)  =  U11_GGGG(x5)

We have to consider all (P,R,Pi)-chains

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 5 SCCs with 12 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DELETED_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETED_IN_GGA(T206, T208, X191)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
DELETED_IN_GGA(x1, x2, x3)  =  DELETED_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(10) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(11) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DELETED_IN_GGA(T206, .(T207, T208), .(T207, X191)) → DELETED_IN_GGA(T206, T208, X191)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
DELETED_IN_GGA(x1, x2, x3)  =  DELETED_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(12) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

DELETED_IN_GGA(T206, .(T207, T208)) → DELETED_IN_GGA(T206, T208)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • DELETED_IN_GGA(T206, .(T207, T208)) → DELETED_IN_GGA(T206, T208)
    The graph contains the following edges 1 >= 1, 2 > 2

(15) YES

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MEMBERC_IN_GG(T174, .(T175, T176)) → MEMBERC_IN_GG(T174, T176)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
MEMBERC_IN_GG(x1, x2)  =  MEMBERC_IN_GG(x1, x2)

We have to consider all (P,R,Pi)-chains

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MEMBERC_IN_GG(T174, .(T175, T176)) → MEMBERC_IN_GG(T174, T176)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains

(19) PiDPToQDPProof (EQUIVALENT transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MEMBERC_IN_GG(T174, .(T175, T176)) → MEMBERC_IN_GG(T174, T176)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • MEMBERC_IN_GG(T174, .(T175, T176)) → MEMBERC_IN_GG(T174, T176)
    The graph contains the following edges 1 >= 1, 2 > 2

(22) YES

(23) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MEMBERB_IN_GAG(T141, X121, .(T142, T143)) → MEMBERB_IN_GAG(T141, X121, T143)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
MEMBERB_IN_GAG(x1, x2, x3)  =  MEMBERB_IN_GAG(x1, x3)

We have to consider all (P,R,Pi)-chains

(24) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(25) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MEMBERB_IN_GAG(T141, X121, .(T142, T143)) → MEMBERB_IN_GAG(T141, X121, T143)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
MEMBERB_IN_GAG(x1, x2, x3)  =  MEMBERB_IN_GAG(x1, x3)

We have to consider all (P,R,Pi)-chains

(26) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(27) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MEMBERB_IN_GAG(T141, .(T142, T143)) → MEMBERB_IN_GAG(T141, T143)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(28) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • MEMBERB_IN_GAG(T141, .(T142, T143)) → MEMBERB_IN_GAG(T141, T143)
    The graph contains the following edges 1 >= 1, 2 > 2

(29) YES

(30) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → MEMBERA_IN_GGG(T79, T80, T82)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
MEMBERA_IN_GGG(x1, x2, x3)  =  MEMBERA_IN_GGG(x1, x2, x3)

We have to consider all (P,R,Pi)-chains

(31) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(32) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → MEMBERA_IN_GGG(T79, T80, T82)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains

(33) PiDPToQDPProof (EQUIVALENT transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(34) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → MEMBERA_IN_GGG(T79, T80, T82)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(35) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • MEMBERA_IN_GGG(T79, T80, .(T81, T82)) → MEMBERA_IN_GGG(T79, T80, T82)
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3

(36) YES

(37) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

REACHE_IN_GGGG(T103, T104, T105, T106) → U7_GGGG(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_GGGG(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_GGGG(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_GGGG(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_GGGG(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → REACHE_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

reachE_in_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14) → reachE_out_gggg(T27, T28, .(.(T27, .(T28, [])), T29), T14)
reachE_in_gggg(T46, T47, .(T48, T49), T14) → U5_gggg(T46, T47, T48, T49, T14, memberA_in_ggg(T46, T47, T49))
memberA_in_ggg(T68, T69, .(.(T68, .(T69, [])), T70)) → memberA_out_ggg(T68, T69, .(.(T68, .(T69, [])), T70))
memberA_in_ggg(T79, T80, .(T81, T82)) → U1_ggg(T79, T80, T81, T82, memberA_in_ggg(T79, T80, T82))
U1_ggg(T79, T80, T81, T82, memberA_out_ggg(T79, T80, T82)) → memberA_out_ggg(T79, T80, .(T81, T82))
U5_gggg(T46, T47, T48, T49, T14, memberA_out_ggg(T46, T47, T49)) → reachE_out_gggg(T46, T47, .(T48, T49), T14)
reachE_in_gggg(T103, T104, T105, T106) → U6_gggg(T103, T104, T105, T106, memberB_in_gag(T103, X81, T105))
memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U6_gggg(T103, T104, T105, T106, memberB_out_gag(T103, X81, T105)) → reachE_out_gggg(T103, T104, T105, T106)
reachE_in_gggg(T103, T104, T105, T106) → U7_gggg(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_gggg(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_gggg(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U9_gggg(T103, T104, T105, T106, deleteD_in_gga(T113, T106, X82))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))
U9_gggg(T103, T104, T105, T106, deleteD_out_gga(T113, T106, X82)) → reachE_out_gggg(T103, T104, T105, T106)
U8_gggg(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_gggg(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_gggg(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → U11_gggg(T103, T104, T105, T106, reachE_in_gggg(T113, T104, T105, T185))
U11_gggg(T103, T104, T105, T106, reachE_out_gggg(T113, T104, T105, T185)) → reachE_out_gggg(T103, T104, T105, T106)

The argument filtering Pi contains the following mapping:
reachE_in_gggg(x1, x2, x3, x4)  =  reachE_in_gggg(x1, x2, x3, x4)
.(x1, x2)  =  .(x1, x2)
[]  =  []
reachE_out_gggg(x1, x2, x3, x4)  =  reachE_out_gggg
U5_gggg(x1, x2, x3, x4, x5, x6)  =  U5_gggg(x6)
memberA_in_ggg(x1, x2, x3)  =  memberA_in_ggg(x1, x2, x3)
memberA_out_ggg(x1, x2, x3)  =  memberA_out_ggg
U1_ggg(x1, x2, x3, x4, x5)  =  U1_ggg(x5)
U6_gggg(x1, x2, x3, x4, x5)  =  U6_gggg(x5)
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
U7_gggg(x1, x2, x3, x4, x5)  =  U7_gggg(x2, x3, x4, x5)
U8_gggg(x1, x2, x3, x4, x5, x6)  =  U8_gggg(x2, x3, x4, x5, x6)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
U9_gggg(x1, x2, x3, x4, x5)  =  U9_gggg(x5)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
U10_gggg(x1, x2, x3, x4, x5, x6)  =  U10_gggg(x2, x3, x5, x6)
U11_gggg(x1, x2, x3, x4, x5)  =  U11_gggg(x5)
REACHE_IN_GGGG(x1, x2, x3, x4)  =  REACHE_IN_GGGG(x1, x2, x3, x4)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x2, x3, x4, x5)
U8_GGGG(x1, x2, x3, x4, x5, x6)  =  U8_GGGG(x2, x3, x4, x5, x6)
U10_GGGG(x1, x2, x3, x4, x5, x6)  =  U10_GGGG(x2, x3, x5, x6)

We have to consider all (P,R,Pi)-chains

(38) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(39) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

REACHE_IN_GGGG(T103, T104, T105, T106) → U7_GGGG(T103, T104, T105, T106, memberB_in_gag(T103, T113, T105))
U7_GGGG(T103, T104, T105, T106, memberB_out_gag(T103, T113, T105)) → U8_GGGG(T103, T104, T105, T106, T113, memberC_in_gg(T113, T106))
U8_GGGG(T103, T104, T105, T106, T113, memberC_out_gg(T113, T106)) → U10_GGGG(T103, T104, T105, T106, T113, deleteD_in_gga(T113, T106, T185))
U10_GGGG(T103, T104, T105, T106, T113, deleteD_out_gga(T113, T106, T185)) → REACHE_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

memberB_in_gag(T132, T133, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T132, T133, .(.(T132, .(T133, [])), T134))
memberB_in_gag(T141, X121, .(T142, T143)) → U2_gag(T141, X121, T142, T143, memberB_in_gag(T141, X121, T143))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg(T166, .(T166, T167))
memberC_in_gg(T174, .(T175, T176)) → U3_gg(T174, T175, T176, memberC_in_gg(T174, T176))
deleteD_in_gga(T198, .(T198, T199), T199) → deleteD_out_gga(T198, .(T198, T199), T199)
deleteD_in_gga(T206, .(T207, T208), .(T207, X191)) → U4_gga(T206, T207, T208, X191, deleteD_in_gga(T206, T208, X191))
U2_gag(T141, X121, T142, T143, memberB_out_gag(T141, X121, T143)) → memberB_out_gag(T141, X121, .(T142, T143))
U3_gg(T174, T175, T176, memberC_out_gg(T174, T176)) → memberC_out_gg(T174, .(T175, T176))
U4_gga(T206, T207, T208, X191, deleteD_out_gga(T206, T208, X191)) → deleteD_out_gga(T206, .(T207, T208), .(T207, X191))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
[]  =  []
memberB_in_gag(x1, x2, x3)  =  memberB_in_gag(x1, x3)
memberB_out_gag(x1, x2, x3)  =  memberB_out_gag(x2)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x5)
memberC_in_gg(x1, x2)  =  memberC_in_gg(x1, x2)
memberC_out_gg(x1, x2)  =  memberC_out_gg
U3_gg(x1, x2, x3, x4)  =  U3_gg(x4)
deleteD_in_gga(x1, x2, x3)  =  deleteD_in_gga(x1, x2)
deleteD_out_gga(x1, x2, x3)  =  deleteD_out_gga(x3)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x2, x5)
REACHE_IN_GGGG(x1, x2, x3, x4)  =  REACHE_IN_GGGG(x1, x2, x3, x4)
U7_GGGG(x1, x2, x3, x4, x5)  =  U7_GGGG(x2, x3, x4, x5)
U8_GGGG(x1, x2, x3, x4, x5, x6)  =  U8_GGGG(x2, x3, x4, x5, x6)
U10_GGGG(x1, x2, x3, x4, x5, x6)  =  U10_GGGG(x2, x3, x5, x6)

We have to consider all (P,R,Pi)-chains

(40) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(41) Obligation:

Q DP problem:
The TRS P consists of the following rules:

REACHE_IN_GGGG(T103, T104, T105, T106) → U7_GGGG(T104, T105, T106, memberB_in_gag(T103, T105))
U7_GGGG(T104, T105, T106, memberB_out_gag(T113)) → U8_GGGG(T104, T105, T106, T113, memberC_in_gg(T113, T106))
U8_GGGG(T104, T105, T106, T113, memberC_out_gg) → U10_GGGG(T104, T105, T113, deleteD_in_gga(T113, T106))
U10_GGGG(T104, T105, T113, deleteD_out_gga(T185)) → REACHE_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

memberB_in_gag(T132, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T133)
memberB_in_gag(T141, .(T142, T143)) → U2_gag(memberB_in_gag(T141, T143))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg
memberC_in_gg(T174, .(T175, T176)) → U3_gg(memberC_in_gg(T174, T176))
deleteD_in_gga(T198, .(T198, T199)) → deleteD_out_gga(T199)
deleteD_in_gga(T206, .(T207, T208)) → U4_gga(T207, deleteD_in_gga(T206, T208))
U2_gag(memberB_out_gag(X121)) → memberB_out_gag(X121)
U3_gg(memberC_out_gg) → memberC_out_gg
U4_gga(T207, deleteD_out_gga(X191)) → deleteD_out_gga(.(T207, X191))

The set Q consists of the following terms:

memberB_in_gag(x0, x1)
memberC_in_gg(x0, x1)
deleteD_in_gga(x0, x1)
U2_gag(x0)
U3_gg(x0)
U4_gga(x0, x1)

We have to consider all (P,Q,R)-chains.

(42) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


REACHE_IN_GGGG(T103, T104, T105, T106) → U7_GGGG(T104, T105, T106, memberB_in_gag(T103, T105))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x2   
POL(REACHE_IN_GGGG(x1, x2, x3, x4)) = 1 + x4   
POL(U10_GGGG(x1, x2, x3, x4)) = x4   
POL(U2_gag(x1)) = 0   
POL(U3_gg(x1)) = 0   
POL(U4_gga(x1, x2)) = 1 + x2   
POL(U7_GGGG(x1, x2, x3, x4)) = x3   
POL(U8_GGGG(x1, x2, x3, x4, x5)) = x3   
POL([]) = 0   
POL(deleteD_in_gga(x1, x2)) = x2   
POL(deleteD_out_gga(x1)) = 1 + x1   
POL(memberB_in_gag(x1, x2)) = 0   
POL(memberB_out_gag(x1)) = 0   
POL(memberC_in_gg(x1, x2)) = 0   
POL(memberC_out_gg) = 0   

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

deleteD_in_gga(T198, .(T198, T199)) → deleteD_out_gga(T199)
deleteD_in_gga(T206, .(T207, T208)) → U4_gga(T207, deleteD_in_gga(T206, T208))
U4_gga(T207, deleteD_out_gga(X191)) → deleteD_out_gga(.(T207, X191))

(43) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U7_GGGG(T104, T105, T106, memberB_out_gag(T113)) → U8_GGGG(T104, T105, T106, T113, memberC_in_gg(T113, T106))
U8_GGGG(T104, T105, T106, T113, memberC_out_gg) → U10_GGGG(T104, T105, T113, deleteD_in_gga(T113, T106))
U10_GGGG(T104, T105, T113, deleteD_out_gga(T185)) → REACHE_IN_GGGG(T113, T104, T105, T185)

The TRS R consists of the following rules:

memberB_in_gag(T132, .(.(T132, .(T133, [])), T134)) → memberB_out_gag(T133)
memberB_in_gag(T141, .(T142, T143)) → U2_gag(memberB_in_gag(T141, T143))
memberC_in_gg(T166, .(T166, T167)) → memberC_out_gg
memberC_in_gg(T174, .(T175, T176)) → U3_gg(memberC_in_gg(T174, T176))
deleteD_in_gga(T198, .(T198, T199)) → deleteD_out_gga(T199)
deleteD_in_gga(T206, .(T207, T208)) → U4_gga(T207, deleteD_in_gga(T206, T208))
U2_gag(memberB_out_gag(X121)) → memberB_out_gag(X121)
U3_gg(memberC_out_gg) → memberC_out_gg
U4_gga(T207, deleteD_out_gga(X191)) → deleteD_out_gga(.(T207, X191))

The set Q consists of the following terms:

memberB_in_gag(x0, x1)
memberC_in_gg(x0, x1)
deleteD_in_gga(x0, x1)
U2_gag(x0)
U3_gg(x0)
U4_gga(x0, x1)

We have to consider all (P,Q,R)-chains.

(44) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 3 less nodes.

(45) TRUE